package com.ktjy.ktmall.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktjy.ktmall.mapper.BannerMapper;
import com.ktjy.ktmall.domain.Banner;
import com.ktjy.ktmall.service.IBannerService;

/**
 * 轮播图信息Service业务层处理
 *
 * @author ktjy
 * @date 2025-01-13
 */
@Service
public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner>
        implements IBannerService {
    @Autowired
    private BannerMapper bannerMapper;

    /**
     * 查询轮播图信息列表
     *
     * @param banner 轮播图信息
     * @return 轮播图信息
     */
    @Override
    public List<Banner> selectBannerList(Banner banner)
    {
        return bannerMapper.selectBannerList(banner);
    }
}